package com.hbpa.pan.server.modules.user.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.hbpa.pan.web.serializer.IdEncryptSerializer;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author: BlcakTiger
 * @date: 2023/10/25 20:12
 * @contact: hsf6661@163.com
 * @description:
 */
@Data
@Api(value = "用户基本信息视图实体")
public class UserInfoVO implements Serializable {

    private static final long serialVersionUID = 2168006230432446755L;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "用户根目录的加密id")
    @JsonSerialize(using = IdEncryptSerializer.class)
    private Long rootFileId;

    @ApiModelProperty(value = "用户根目录名称")
    private String rootFilename;
}
